import request from '@/utils/request'

export async function UploadImageApi (formData) {
    let res = await request({
        url: '/values',
        method: 'POST',
        data: formData
    })
    return res
}

export async function removeImage (data) {
    let res = await request({
        url: '/values',
        method: 'DELETE',
        data: JSON.stringify(data)
    })
    return res
}